package com.leyou.user.inter.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author zqq
 * @ClassName UserUpdateDTO
 * @Description
 * @date 2020/3/26-9:08
 */
@Data
public class UserUpdateDTO {

    /** 用户id */
    @ApiModelProperty(value = "用户id", name = "id")
    private Long id;

    /** 是否删除：0/否 1/删除  (默认值为: 0) */
    @ApiModelProperty(value = "是否删除：0/否 1/删除", name = "isDelete")
    private Boolean isDelete;

    /** 是否锁定：0/否 1/锁定  (默认值为: 0) */
    @ApiModelProperty(value = "是否锁定：0/否 1/锁定", name = "isLocked")
    private Boolean isLocked;

    /** 锁定天数 */
    @ApiModelProperty(value = "锁定天数", name = "lockedDay")
    private Integer lockedDay;

    /** 角色id集合 */
    @ApiModelProperty(value = "角色id集合", name = "roles")
    private List<Long> roles;
}
